<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 200px;
            height: 200px;
            background-color: pink;
            margin: 50px auto;
            transition: all 1s;
        }
        .box:hover {
            /* 旋转 */
            /* 大拇指指向代表轴正方向，其余手指方向就是设置正值方向 */
            /* transform: rotateZ(360deg); */
            /* transform: rotateX(60deg); */
            transform: rotateY(60deg);
        }
    </style>
</head>
<body>
    <div class="box">123456</div>
</body>
</html>